package com.hzw.saas.web.admin.hpc.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.hutool.core.date.DatePattern;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description
 * @Date 2021/7/28 4:24 下午
 * @Created by sonam
 */
@Data
@Accessors
public class HpcExportHpcContractDTO {

    @Excel(name = "用户ID",width = 30, mergeVertical = true)
    private String userId;

    @Excel(name = "客户姓名",width = 30, mergeVertical = true, mergeRely = {1})
    private String realName;

    @Excel(name = "客户用户名",width = 30, mergeVertical = true, mergeRely = {1})
    private String userName;

    @Excel(name = "客户注册时间",width = 20, mergeVertical = true, mergeRely = {1})
    private String userRegisterDate;

    @Excel(name = "客户手机号",width = 30, mergeVertical = true, mergeRely = {1})
    private String phoneNo;

    @Excel(name = "客户邮箱",width = 30, mergeVertical = true, mergeRely = {1})
    private String email;

    @Excel(name = "客户等级",width = 30, mergeVertical = true, mergeRely = {1})
    private String levelText;

    @Excel(name = "HPC账号",width = 30, mergeVertical = true, mergeRely = {1})
    private String hpcAccount;

    @Excel(name = "消耗核时",width = 30, numFormat = "######0.00", mergeVertical = true, mergeRely = {1})
    private Double consumeCoreTime;

    @Excel(name = "合同编号",width = 30)
    private String contractNo;

    @Excel(name = "合同名称",width = 30)
    private String contractName;

    @Excel(name = "合同金额",width = 30, numFormat = "######0.00")
    private Double contractAmount;

    @Excel(name = "核时",width = 30, numFormat = "######0.00")
    private Double coreTime;

    @Excel(name = "登记日",width = 20, exportFormat= DatePattern.NORM_DATE_PATTERN)
    private Date busTime;

    @Excel(name = "到期日",width = 20, exportFormat= DatePattern.NORM_DATE_PATTERN)
    private Date expireTime;

    @Excel(name = "合同状态",width = 20)
    private String statusText;

    @Excel(name = "合同类型",width = 20)
    private String type;
}
